/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cq.bd.service;

import java.util.Map;

import com.cq.base.domain.Page;
import com.cq.bd.domain.SStaff;

/**
 * 员工服务
 * 
 * @author huangmy
 * @date   2009-10-7
 */
public interface StaffService {
    /**
     * 创建员工
     * 
     * @param staff
     */
    public void doCreateStaff(SStaff staff);
    
    /**
     * 修改员工
     * 
     * @param staff
     */
    public void doUpdateStaff(SStaff staff);
    
    /**
     * 删除员工
     * 
     * @param staffId
     */
    public void doDeleteStaff(Long staffId);
    
    /**
     * 获取员工
     * 
     * @param staffId
     * @return
     */
    public SStaff doGetStaff(Long staffId);
    
    /**
     * 分页查找员工
     * 
     * @param filter
     * @param like
     * @param sort
     * @param pageNo
     * @param pageSize
     * @return
     */
    public Page pageStaffs(Map<String, String> filter, Map<String, String> like, Map<String, String> sort, int pageNo, int pageSize);
}
